library _;

import 'package:desktop_multi_window/desktop_multi_window.dart';
import 'package:flutter/material.dart';
import 'package:flutter_yfree/YFree.dart';
import 'package:pc/Util/FileUtils.dart';

part 'controller.dart';

part 'view.dart';

class SettingPage extends YPage {
  String cache = "";

  @override
  void yOnCreate() async {
    controller_loadCache();
  }

  @override
  Widget yBuild(BuildContext context) {
    return Container(
      padding: EdgeInsets.only(left: 20, right: 20),
      width: yScreenSize().width,
      child: Column(
        crossAxisAlignment: CrossAxisAlignment.center,
        children: [
          YSpacer(height: 5),
          Text("系统设置"),
          YSpacer(height: 5),
          Divider(height: 1),
          YSpacer(height: 20),
          view_cache(),
        ],
      ),
    );
  }
}
